import request from '@/utils/request'
export function listSites(params) {
    return request({
        url: '/system/site/listZY',
        method: 'get',
        params // 这样会自动拼接为 ?areaCode=xxx
    })
}

export function listAreas() {
    return request({
        url: '/system/site/listAreas',
        method: 'get',
    })
}

export function listRest() {
    return request({
        url: '/system/location/listRest',
        method: 'get',
    })
}